package com.aaa.entity;


import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Table(name = "t_role_menu")
@Data
@NoArgsConstructor
@AllArgsConstructor
//@ApiModel(value = "TRoleMenu)", description = "")
public class TRoleMenu implements Serializable {
    private static final long serialVersionUID = 883685239268262221L;
    @Id
    @Column(name = "id")
    private Integer id;

    @Column(name = "rid")
    //@ApiModelProperty(value = "角色id")
    private Integer rid;
    
    @Column(name = "mid")
    //@ApiModelProperty(value = "菜单id")
    private Integer mid;


    public TRoleMenu(Integer rid, Integer mid) {
        this.rid = rid;
        this.mid = mid;
    }
}

